package com.xszx.ucenter.service;

import com.xszx.ucenter.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xszx.ucenter.entity.dto.LoginDto;
import com.xszx.ucenter.entity.dto.RegisterDto;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author 白熊
 * @since 2024-07-24
 */
public interface MemberService extends IService<Member> {
    String login(LoginDto loginDto);//登录
    void register(RegisterDto registerDto);//注册
    Member getLoginInfo(String memberId);//获取登录
    Member getByOpenid(String openid);//

    Integer countRegisterByDay(String day);//统计某一天的注册人数
}
